Optimal. Leaf size=6 \[ \tanh ^{-1}(x)-x \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0080615, antiderivative size = 6, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.231, Rules used = {1584, 321, 206} \[ \tanh ^{-1}(x)-x \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1584
Rule 321
Rule 206
Rubi steps
\begin{align*} \int \frac{x^3}{x-x^3} \, dx &=\int \frac{x^2}{1-x^2} \, dx\\ &=-x+\int \frac{1}{1-x^2} \, dx\\ &=-x+\tanh ^{-1}(x)\\ \end{align*}
Mathematica [B] time = 0.0030891, size = 22, normalized size = 3.67 \[ -x-\frac{1}{2} \log (1-x)+\frac{1}{2} \log (x+1) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.001, size = 17, normalized size = 2.8 \begin{align*} -x-{\frac{\ln \left ( -1+x \right ) }{2}}+{\frac{\ln \left ( 1+x \right ) }{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.0418, size = 22, normalized size = 3.67 \begin{align*} -x + \frac{1}{2} \, \log \left (x + 1\right ) - \frac{1}{2} \, \log \left (x - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.68595, size = 51, normalized size = 8.5 \begin{align*} -x + \frac{1}{2} \, \log \left (x + 1\right ) - \frac{1}{2} \, \log \left (x - 1\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 0.083079, size = 14, normalized size = 2.33 \begin{align*} - x - \frac{\log{\left (x - 1 \right )}}{2} + \frac{\log{\left (x + 1 \right )}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.23107, size = 24, normalized size = 4. \begin{align*} -x + \frac{1}{2} \, \log \left ({\left | x + 1 \right |}\right ) - \frac{1}{2} \, \log \left ({\left | x - 1 \right |}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]